<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
</head>
<body>
<div id="app">
    <ul>
        <li v-for="i in 10" v-if="i % 2==0">{{i}}</li>
    </ul>
</div>
</body>
<script>
    new Vue({
        el:"#app"
    })
</script>
</html>